package com.william.yun.yunliwuli.api.rest;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;

/**
 * ClassName: BaseApi <br/>
 * Description:  <br/>
 * date: 2021/3/12 15:28<br/>
 *
 * @author william <br/>
 */
public class BaseApi{
    public JSONObject getJsonParam(Object obj){
        return JSON.parseObject(JSON.toJSONString(obj));
    }
}
